package com.wx.day10;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@MapperScan("com.wx.day10.mapper")
public class BootRunner {
    public static void main(String[] args) {
        //启动Tomcat + 创建ioc容器
        ConfigurableApplicationContext run = SpringApplication.run(BootRunner.class, args);
    }
}
